{section name=category loop=$CONTENT.categories}
<div class="infoBlock">
<div class="infoBlockHeading"><span class="t">{$CONTENT.categories[category].categories_name}</span></div>
<div class="infoBlockContent">

<div class="infoBlockItem">
{if $CONTENT.categories[category].subs}
<ul>
{assign var=csubs value=$CONTENT.categories[category].subs}
{section name=cs loop=$csubs}
<li>{$csubs[cs].categories_name}</li>
{/section}
</ul>
{/if}
</div>

</div>
</div>
{/section}
